package test02;

/**
 * @Author czl
 * @Date 2024-04-09
 */
public class MainTest01 {
    public static void main(String[] args) {
        Thread thread = new Thread(new java.lang.Runnable() {
            @Override
            public void run() {
                for (int i = 0; i <10 ; i++) {
                    System.out.println("第" +(i+1)+"句 (匿名内部类)：好好学习，天天向上");
                }
            }
        });
        thread.start();
    }
}
